#include <stdio.h>

typedef int (*func)(int,int);

int max(int a,int b){
    return a>b?a:b;
}

int min(int a,int b){
    return a<b?a:b;
}

int main(){
    func f = min;
    printf("%d\n",(*f)(1,2));
    printf("%d\n",f(1,2));
    printf("%d\n",(&max)(1,2));
    return 0;
}
